export const childText = ({ name }) => {
  let node;
  if (name.length < 3) node = [name];
  else if (name.length === 4) node = [name.substring(0, 2), name.substring(2)];
  else node = [name.substring(0, 3), name.substring(3)];
  return node.map((n) => <span class="z-1">{n}</span>);
};
